home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
biz
/
patch
/
abtoolspch102.lha
/
patch.script
< prev
next >
Wrap
AmigaDOS Script File
|
1993-04-10
|
2KB
|
77 lines
.key OPT1
.bra {
.ket }
;
; Script to patch Ami-Back Tools master disk. From v1.00 or v1.01 to v1.02
;
Echo "This script patches Ami-Back Tools v1.00 or v1.01 to v1.02"
Echo ""
FailAt 10
CheckSize 256628
IF NOT WARN
FailAt 1
;Patch Ami-Back Tools from 1.01 to 1.02
echo "Patching Ami-Back Tools from 1.01 to 1.02"
lpatch -oRAM:tmp{$$} -pabt02.pch "Ami-Back Tools:ABTools"
copy RAM:tmp{$$} "Ami-Back Tools:ABTools"
;Patch Ami-SchedII from 1.01 to 1.02
echo "Patching Ami-Sched II from 1.01 to 1.02"
lpatch -oRAM:tmp{$$} -pasii02.pch "Ami-Back Tools:Ami-SchedII"
copy RAM:tmp{$$} "Ami-Back Tools:Ami-SchedII"
;Copy correct amigaguide.libary
echo "Updating amigaguide.library"
copy guide.lib to "Ami-Back Tools:libs2.0/amigaguide.library" clone
ELSE
FailAt 1
;Patch Ami-Back Tools from 1.0 to 1.02
echo "Patching Ami-Back Tools from 1.0 to 1.02"
lpatch -oRAM:tmp{$$} -pabt01.pch "Ami-Back Tools:ABTools"
lpatch -oRAM:tmp1{$$} -pabt02.pch RAM:tmp{$$}
copy RAM:tmp1{$$} "Ami-Back Tools:ABTools"
;Patch Ami-SchedII from 1.0 to 1.02
echo "Patching Ami-Sched II from 1.0 to 1.02"
lpatch -oRAM:tmp{$$} -pasii01.pch "Ami-Back Tools:Ami-SchedII"
lpatch -oRAM:tmp1{$$} -pasii02.pch RAM:tmp{$$}
copy RAM:tmp1{$$} "Ami-Back Tools:Ami-SchedII"
;Patch personalization program
echo "Patching personalization program"
lpatch -oRAM:tmp{$$} -pperson.pch "Ami-Back Tools:C/Person"
copy RAM:tmp{$$} "Ami-Back Tools:C/Person"
Delete >NIL: RAM:tmp1{$$}
ENDIF
;Copy new install script
echo "Updating install script"
copy abt_install to "Ami-Back Tools:Install ABTools"
copy abt_install.inf to "Ami-Back Tools:Install ABTools.info"
;Copy new readme file
echo "Updating ReadMe file"
copy abt_readme to "Ami-Back Tools:ReadMe" clone
;Cleanup
Delete >NIL: RAM:tmp{$$}
Echo ""
Echo "Your Ami-Back Tools disk has now been patched to v1.02"
Echo ""
Echo "Now install ABTools. See your manual for instructions on"
Echo "installation."
Echo ""